<?xml version="1.0"?>

<project name="Foo-main" default="deploy" basedir=".">

  <property environment="env"/>
  <property name="appName" value="foo-main"/>
	
	 <property name="build.dir" value="${basedir}/bin"/>
	 <property name="dest.dir" value="${basedir}/../spring-foo-web/web/WEB-INF/lib"/>
	  

  <target name="deploy" >
    <jar jarfile="${appName}.jar">
      <fileset dir="${build.dir}">
      	  <include name="**/*.*"/>
      </fileset>
     </jar>
     <copy file="${appName}.jar" todir="${dest.dir}"/>
     
  </target>


</project>

